package ua.soso.dao;

import ua.soso.dao.model.File;
import ua.soso.dao.model.FileCategory;

import java.util.List;

/**
 * Created by Babka Aleksey
 * Date: 19.04.12
 */
public interface FileDao {
    void save(File file);

    List<File> findAll(long userId);

    File findById(long id);

    List<File> findByUserId(long userId);

    List<FileCategory> findCategories();
}
